﻿namespace 组合模式
{
    /// <summary>
    /// 图形抽象类，
    /// </summary>
    public abstract class Graphics
    {
        public string Name { get; set; }

        public Graphics(string name)
        {
            Name = name;
        }
        public abstract void Draw();
    }
}
